package com.intel.two.pojo.older;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Activity {
    private int oldman_id;
    private String oldman_sport;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date oldman_time;
    private String oldman_count;
    private String oldman_address;
    private String oldman_weather;
    private String oldman_state;
    private String oldman_pic;
}
